//
//  TransactionRecordHeader.h
//  DaoZiJinFu
//
//  Created by woker on 16/6/27.
//  Copyright © 2016年 iwoker. All rights reserved.
//

#import <UIKit/UIKit.h>
@class TransactionRecordHeader;
@protocol transactionDelegate <NSObject>

- (void)getRecord:(NSInteger )type;

@end

@interface TransactionRecordHeader : UIView
@property (strong, nonatomic) IBOutlet UIButton *allRecords;
@property (strong, nonatomic) IBOutlet UIButton *investRecord;
@property (strong, nonatomic) IBOutlet UIButton *rechargeRecord;
@property (strong, nonatomic) IBOutlet UIButton *redeemRecord;
@property (strong, nonatomic) IBOutlet UIButton *withdrawalsRecord;
@property (strong, nonatomic) IBOutlet UILabel *scrollLab;

+ (instancetype)loadView;

- (IBAction)allRecordsClick:(id)sender;
- (IBAction)investRecordClick:(id)sender;
- (IBAction)rechargeRecordClick:(id)sender;
- (IBAction)redeemRecordClick:(id)sender;
- (IBAction)withdrawalsRecordClick:(id)sender;

@property (assign, nonatomic) id<transactionDelegate> delegate;
@end
